package pw.orm;

import pw.orm.annotation.Id;
import pw.orm.annotation.Property;
import pw.orm.annotation.Table;

/**
 * @Author Eric
 * @Desc
 * @Date Create in 17-12-29 上午11:14
 * @Modified By
 */
@Table(name = "user")
public class User {
    @Id(policy = Id.IdPolicy.Identity)
    private long id;
    @Property
    private String name;
    @Property
    private String address;

    @Property(column = "msg")
    private String msg;
    @Property(column = "conversation")
    private String conversation;

    @Property(column = "col1")
    private String test1;
    @Property(column = "col2")
    private String test2;
    @Property(column = "col3")
    private String test3;
    @Property(column = "col4")
    private String test4;
    @Property(column = "col5")
    private String test5;
    @Property(column = "col6")
    private String test6;
    @Property(column = "col7")
    private String test7;
    @Property(column = "col8")
    private String test8;
    @Property(column = "col9")
    private String test9;
    @Property(column = "col10")
    private String test10;

    public User(){}

    public User(long id,String name,String address){
        this.id = id;
        this.name = name;
        this.address = address;
    }


    public long getId() {
        return id;
    }

    public void setId(long id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public String getConversation() {
        return conversation;
    }

    public void setConversation(String conversation) {
        this.conversation = conversation;
    }

    public String getTest1() {
        return test1;
    }

    public void setTest1(String test1) {
        this.test1 = test1;
    }

    public String getTest2() {
        return test2;
    }

    public void setTest2(String test2) {
        this.test2 = test2;
    }

    public String getTest3() {
        return test3;
    }

    public void setTest3(String test3) {
        this.test3 = test3;
    }

    public String getTest4() {
        return test4;
    }

    public void setTest4(String test4) {
        this.test4 = test4;
    }

    public String getTest5() {
        return test5;
    }

    public void setTest5(String test5) {
        this.test5 = test5;
    }

    public String getTest6() {
        return test6;
    }

    public void setTest6(String test6) {
        this.test6 = test6;
    }

    public String getTest7() {
        return test7;
    }

    public void setTest7(String test7) {
        this.test7 = test7;
    }

    public String getTest8() {
        return test8;
    }

    public void setTest8(String test8) {
        this.test8 = test8;
    }

    public String getTest9() {
        return test9;
    }

    public void setTest9(String test9) {
        this.test9 = test9;
    }

    public String getTest10() {
        return test10;
    }

    public void setTest10(String test10) {
        this.test10 = test10;
    }

    @Override
    public String toString() {
        return "User{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", address='" + address + '\'' +
                ", msg='" + msg + '\'' +
                ", conversation='" + conversation + '\'' +
                ", test1='" + test1 + '\'' +
                ", test2='" + test2 + '\'' +
                ", test3='" + test3 + '\'' +
                ", test4='" + test4 + '\'' +
                ", test5='" + test5 + '\'' +
                ", test6='" + test6 + '\'' +
                ", test7='" + test7 + '\'' +
                ", test8='" + test8 + '\'' +
                ", test9='" + test9 + '\'' +
                ", test10='" + test10 + '\'' +
                '}';
    }
}
